package classes;

public class ExamGeneralDetails {

	private String examName;
	private int numOftopic;
	private int lowestWeight;
	private int highestWeight;
	private int numberQuestions;
	private int hrDuration;
	private int minutesDuration;
	
	
	public ExamGeneralDetails(String eName, int top, int low,
			int high, int numOfQues, int hr, int minutes ){
		examName = eName;
		numOftopic = top;
		lowestWeight = low;
		highestWeight = high;
		numberQuestions = numOfQues;
		hrDuration = hr;
		minutesDuration = minutes;
	}
	
	public String getName(){
		return examName;
	}
	
	public int getNumberOfTopics(){
		return numOftopic;
	}
	
	public int getLowestWeight(){
		return lowestWeight;
	}
	
	public int getHighestWeight(){
		return highestWeight;
	}
	
	public int getNumOfQuestions(){
		return numberQuestions;
	}
	
	public int getHrDuration(){
		return hrDuration;
	}
	
	public int getMinDuration(){
		return minutesDuration;
	}
	
	public void updateValues(String eName, int top, int low,
			int high, int numOfQues, int hr, int minutes ){
		examName = eName;
		numOftopic = top;
		lowestWeight = low;
		highestWeight = high;
		numberQuestions = numOfQues;
		hrDuration = hr;
		minutesDuration = minutes;
	}
}
